<!DOCTYPE html>
<%@page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="EF" uri="/WEB-INF/framework/tlds/EF-2.0.tld" %>
<% String actionUrl = request.getContextPath() + "/DispatchAction.do"; %>
<html>
<EF:EFHead includeDefault="true">
<script type="text/javascript" src="./ZM/zm.js"></script>
<script type="text/javascript" src="././BFR/bfr.js"></script>
</EF:EFHead>
<EF:EFBody>
	<EF:EFForm formId="ZMCG80" method="POST" action="<%=actionUrl%>"> 
	    
		<%-- <EF:EFInput blockId="inqu_status" row="0" type="" ename="mineName" cname="矿井"/>  --%>
		<br>
		<EF:EFInput type="hidden" ename="fdVirtualDate" cname="日期" etc=" "/>
		<div style="margin:0 auto;text-align:center"><label style="font-size:30px;">矿调度生产日报</label></div>
		
		<div id="ef_region_inqu" title="查询条件" efRegionShowClear="false">
			<div class="row-fluid">
				<div class="span4">
					<EF:EFInput blockId="inqu_status" row="0" type="text" ename="fdVirtualDate" cname="日报日期："  isRequired="true" popup="date" />
				</div>
				<EF:EFInput blockId="inqu_status" row="0" type="hidden" ename="fdMiningId" cname="矿井"/> 
			<div class="span4">
					<EF:EFSelect blockId="inqu_status" row="0" ename="fdReportDepartmentId" cname="部门：" etc=" style='width:133px;'">
					    <EF:EFOption label="" value=""></EF:EFOption>
						<EF:EFOptions blockId="cmes.cg.department" labelColumn="orgName" valueColumn="orgCode"></EF:EFOptions>
					</EF:EFSelect>
					
				</div>
<%-- 				<div class="span4">
					<EF:EFSelect blockId="inqu_status" row="0" ename="fdWorknumId" cname="班次：" etc=" style='width:133px;'">
					    <EF:EFOption label="" value=""></EF:EFOption>
						<EF:EFOptions blockId="cmes.cg.workNum" labelColumn="chineseValue" valueColumn="value"></EF:EFOptions>
					</EF:EFSelect>
				</div>
 --%>		    </div>
		</div>
	
		<div id = "ef_region_result" title="数据汇总" efRegionShowClear="false"> 
			<div id = "ef_grid_result" title="页面信息" style="height:120px;" ></div>
		</div>
		
         <EF:EFGrid title="结果集" blockId="result"  readonly="true" serviceName="ZMCG80" queryMethod="query" ajax="true" paintId="ef_grid_result" style="operationBar:true">   
			
			<EF:EFColumn ename="fdMinesumDay" cname="早班产量（吨）" align="center"/>
			<EF:EFColumn ename="fdMinesumMiddle" cname="中班产量（吨）"  align="center" />
			
			<EF:EFColumn ename="fdMineSumUpMid" cname="中早班产量（吨）"  align="center" />
			<EF:EFColumn ename="fdMineSumDownMid" cname="中晚班产量（吨）"  align="center" />
			
			<EF:EFColumn ename="fdMinesumNight" cname="晚班产量（吨）"  align="center" />
			<EF:EFColumn ename="fdMinesumDsum" cname="产量日累计（吨）"  align="center" />
			<EF:EFColumn ename="fdMineMzSumDsum" cname="产量日累计（煤质）" width="110"  align="center"/>
			<EF:EFColumn ename="fdMinesumMsum" cname="产量月累计（吨）"   align="center"/>
			<EF:EFColumn ename="fdMinesumYsum" cname="产量年累计（吨）"   align="center"/>
			
			<EF:EFColumn ename="fdMovelenghDay" cname="早班进尺（米）"   align="center"/>
			<EF:EFColumn ename="fdMovelenghMiddle" cname="中班进尺（米）"   align="center"/>
			
			<EF:EFColumn ename="fdMoveLenghUpMid" cname="中早班进尺（米）"   align="center"/>
			<EF:EFColumn ename="fdMoveLenghDownMid" cname="中晚班进尺（米）"   align="center"/>
			
			<EF:EFColumn ename="fdMovelenghNight" cname="晚班进尺（米）"   align="center"/>
			<EF:EFColumn ename="fdMovelenghDsum" cname="进尺日累计（米）"   align="center"/>
			<EF:EFColumn ename="fdMovelenghMsum" cname="进尺月累计（米）"   align="center"/>
			<EF:EFColumn ename="fdMovelenghYsum" cname="进尺年累计（米）"   align="center"/>
		</EF:EFGrid>
		
		<div id="ef_tab_y" lastRange="98%" eftabWidth="100%" style="overflow: hidden;border-width:0px;padding:0px">
			<div id="tab1" title="采煤进度" eftabSrc="DispatchAction.do?efFormEname=ZMCG83" efRemember="yes" style="border:0px;padding:0px"></div>
			<div id="tab2" title="掘进进度" eftabSrc="about:blank" efRemember="yes" style="border:0px;padding:0px"></div>
			<div id="tab3" title="抽采进度" eftabSrc="about:blank" efRemember="yes" style="border:0px;padding:0px"></div>
			<div id="tab4" title="竖井提升和排矸" eftabSrc="about:blank" efRemember="yes" style="border:0px;padding:0px"></div>
			<div id="tab5" title="一班三汇报" eftabSrc="about:blank" efRemember="yes" style="border:0px;padding:0px"></div>
			<div id="tab6" title="调度值班" eftabSrc="about:blank" efRemember="yes" style="border:0px;padding:0px"></div>
			<div id="tab7" title="生产事故" eftabSrc="about:blank" efRemember="yes" style="border:0px;padding:0px"></div>
			<div id="tab8" title="重点调度" eftabSrc="about:blank" efRemember="yes" style="border:0px;padding:0px"></div>
		</div>
		
		<EF:EFRegion />
		
 		<EF:EFTab tabId="y" action="fundiv"/> 
		<script type="text/javascript"> 
			var frames = $("#ef_tab_y iframe");
			if(window.parent != window && window.parent.hideSubPageHead == true) {
				$("#ef_tab_y").css("padding-top", "8px").css("padding-left", "4px");
			}
			onSubPageLoad = function(wnd) {
				for(var i=0; i<frames.length; i++) {
					if (frames[i].contentWindow == wnd) {
						adjustFrameHeight(frames[i]);
						break;
					}
				}
				
			}
			
			adjustFrameHeight = function(frame) {
				var oldHeight = $(frame).height();
				$(frame).css("border", "0");
				$("#jquery_tab_div_content").css("border", "0");
				var height = frame.contentWindow.document.body.scrollHeight;
				if (height > oldHeight) {
					$(frame).css("height", height);
				}
				if(window.parent != window && window.parent.hideSubPageHead == true) {
					var pFrames = window.parent.frames;
					for(var i=0; i<pFrames.length; i++) {
						if (pFrames[i].contentWindow == window) {
							window.parent.adjustFrameHeight(pFrames[i]);
							break;
						}
					}
				}
			}
			</script>
	</EF:EFForm> 
</EF:EFBody> 
</html>